package com.dong.mybatis.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dong.mybatis.entity.Zone1AlarmRecord;
import com.dong.mybatis.entity.Zone2AlarmRecord;
import com.dong.mybatis.entity.Zone3AlarmRecord;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 * zone1区域简化版报警记录表 Mapper 接口
 * </p>
 *
 * @author dong
 * @since 2025-09-08
 */
@Mapper
public interface Zone1AlarmRecordMapper extends BaseMapper<Zone1AlarmRecord> {
    @Select("select * from zone1_alarm_record order by id DESC;")
    List<Zone1AlarmRecord> getAll();

}
